home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / Bonus / Plasmatech / ptscp_examples.exe / %MAINDIR% / Examples / ImageCombo / CBuilder / ShImageCombo.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2001-08-31  |  759 b   |  24 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl\vcl.h>
  3. #pragma hdrstop
  4. //---------------------------------------------------------------------------
  5. USEFORM("FMain.cpp", FrmMain);
  6. USERES("ShImageCombo.res");
  7. USERES("Icons.res");
  8. //---------------------------------------------------------------------------
  9. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  10. {
  11.     try
  12.     {
  13.         Application->Initialize();
  14.         Application->CreateForm(__classid(TFrmMain), &FrmMain);
  15.         Application->Run();
  16.     }
  17.     catch (Exception &exception)
  18.     {
  19.         Application->ShowException(&exception);
  20.     }
  21.     return 0;
  22. }
  23. //---------------------------------------------------------------------------
  24.